package com.hzya.frame.mdm.mdmModule.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ExcelTemplateVO {

    @ExcelProperty(value = "中文名称", index = 0)
    private String chName;

    @ExcelProperty(value = "英文名称", index = 1)
    private String enName;

    /**  字段类型 1、BIGINT 2、DECIMAL 3、VARCHAR 4、DATETIME */
    @ExcelProperty(value = "字段类型", index = 2)
    private String filedType;

    @ExcelProperty(value = "长度", index = 3)
    private String filedLength;

    @ExcelProperty(value = "是否系统主键", index = 4)
    private String isSysPk;// Y N

    @ExcelProperty(value = "系统数据编码", index = 5)
    private String isSysCode;// Y N

    @ExcelProperty(value = "系统数据名称", index = 6)
    private String isSysName;// Y N

    @ExcelProperty(value = "系统日期", index = 7)
    private String isSysDate; // Y N

    @ExcelProperty(value = "显示名", index = 8)
    private String title;

    @ExcelProperty(value = "宽度", index = 9)
    private String row;

    @ExcelProperty(value = "单元格宽度", index = 10)
    private String width;

    @ExcelProperty(value = "数据类型",index = 11)
    private String type;

    @ExcelProperty(value= "必填",index = 12)
    private String required; // true false

    @ExcelProperty(value= "禁止修改",index = 13)
    private String disabled; // true false

}
